package com.stud.common.jdbc;

import com.stud.common.utils.PageUtils;

import java.io.Closeable;
import java.io.IOException;

/**
 * @author Stud
 * @title XXXXX
 * @desription XXXXX
 * @data 2022-12-07 17:44
 */
public class StudPage implements Closeable {
    private boolean mark;

    public StudPage() {
        this.mark = true;
    }

    public StudPage(boolean mark) {
        this.mark = mark;
    }

    public boolean isMark() {
        return mark;
    }

    public void setMark(boolean mark) {
        this.mark = mark;
    }

    @Override
    public void close() throws IOException {
        PageUtils.clearMark();
    }
}
